package com.hxgz.steel.dto;

import com.hxgz.steel.domain.AskInfo;
import com.hxgz.steel.domain.Order;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class AddOrderFormDto {

    @ApiModelProperty("商家id")
    private Long merchantId;

    @ApiModelProperty("商家报价id")
    private Long quotationId;

    @ApiModelProperty("地址id")
    private Long addressId;

    @ApiModelProperty("实际付款金额,单位是元,保留两位小数")
    private BigDecimal payment;

    @ApiModelProperty("运费,单位是元")
    private BigDecimal postage;

    @ApiModelProperty("是否发票")
    private Integer invoice;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty(value ="求购详细",required = false)
    private List<AskInfo> askInfos;

    @ApiModelProperty("判断是商品购买还是实单求购购买 0- 商品购买 1-实单求购购买")
    private Integer type;
}
